﻿@using BookShop.DTO
@using BookShop.Library.Constant
@{
    ViewBag.Title = "Trang tài khoản | Book Shop Ngân Hà";
}

<ul class="breadcrumb">
    <li><a href="@Url.Action("Index", "Home")">Trang chủ</a></li>
    <li class="active">Trang tài khoản</li>
</ul>

<div class="row margin-bottom-40">
    @{
        Html.RenderPartial("_AccountSidebar");
    }
    @if (Session[SessionKey.Customer] != null)
    {
        var customer = (Customer)Session[SessionKey.Customer];
        <div class="col-md-9 col-sm-7">
            <h1>Trang tài khoản</h1>
            <div class="content-page">
                <h3>Tài khoản</h3>
                <ul>
                    <li><a href="@Url.Action("PersonalInfomation", new { customerId = customer.Id })">Thay đổi thông tin cá nhân</a></li>
                </ul>
                <hr>

                <h3>Đơn hàng</h3>
                <ul>
                    <li><a href="@Url.Action("OrderHistory", new { customerId = customer.Id })">Danh sách đơn hàng</a></li>
                </ul>
            </div>
        </div>
    }
</div>

@section Javascript{
    <script src="~/Content/assets/global/plugins/carousel-owl-carousel/owl-carousel/owl.carousel.min.js" type="text/javascript"></script>
    <script src="~/Content/assets/global/plugins/fancybox/source/jquery.fancybox.pack.js" type="text/javascript"></script>
}

@section Css{
    <link href="~/Content/assets/global/plugins/fancybox/source/jquery.fancybox.css" rel="stylesheet">
    <link href="~/Content/assets/global/plugins/carousel-owl-carousel/owl-carousel/owl.carousel.css" rel="stylesheet">
}